<?php
namespace app\common\validate;

use think\Validate;

class AdsCate extends Validate
{
    protected $rule =   [
        'width'             => 'require',
        'height'            => 'require',
        'tag'               => 'require',
        'desc'              => 'require',
    ];
    
    protected $message  =   [
        'width.require'     => '请输入位置宽度，单位px',
        'height.require'    => '请输入位置高度，单位px',
        'tag.require'       => '请输入位置标签名称',
        'desc.require'      => '请输入位置描述',
    ];
    
    protected $scene = [
    ];
}